package data.platfrom.entity;

import java.util.Date;

import data.framework.entity.AbstractEntity;


@javax.persistence.Entity
@javax.persistence.Table( name = "MEMBER" )
@javax.xml.bind.annotation.XmlRootElement( name = "EntityMember" )
public class EntityMember extends AbstractEntity{

	private static final long serialVersionUID = 1L;
	
	private String password;
	private String memberName;
	private String realName;
	private String areaId;
	private Date createDate;
	private String memberType;
	private Integer memberState;

	/**
     * 主键映射。
     */
	@javax.persistence.Id
    @javax.persistence.GeneratedValue( generator = "UUIDGenerator" )
    @org.hibernate.annotations.GenericGenerator( name = "UUIDGenerator", strategy = "data.framework.entity.HibernateUUIDGenerator" )
    @javax.persistence.Column( name = "MEMBER_KEY", length = 50, updatable = false )
	public String getId() {
		return this.id;
	}

	@javax.persistence.Version
    @javax.persistence.Column( name = "LOCK_VERSION" )
	public Integer getVersion() {
		return this.version;
	}
	
	@javax.persistence.Column( name = "PASSWORD" )
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	@javax.persistence.Column( name = "MEMBER_NAME" )
	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	
	@javax.persistence.Column( name = "REAL_NAME" )
	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}
	
	@javax.persistence.Column( name = "AREA_ID" )
	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}
	
	@javax.persistence.Column( name = "CREATE_DATE" )
	@javax.persistence.Temporal( javax.persistence.TemporalType.TIMESTAMP )
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	@javax.persistence.Column( name = "member_type" )
	public String getMemberType() {
		return memberType;
	}

	public void setMemberType(String memberType) {
		this.memberType = memberType;
	}
	
	@javax.persistence.Column( name = "MEMBER_STATE" )
	public Integer getMemberState() {
		return memberState;
	}

	public void setMemberState(Integer memberState) {
		this.memberState = memberState;
	}

	

}
